package com.warm.pump.module.work.service;

import com.warm.pump.module.work.bean.po.gen.WorkItemSub;
import com.warm.pump.frame.gen.bean.PageBean;

import java.util.List;
import java.util.Map;

/**
 * work_item_sub
 *
 */
public interface IWorkItemSubService {

	WorkItemSub queryObject(Long  id);

   WorkItemSub queryObject(Map<String, Object> map);

	List<WorkItemSub> queryList(Map<String, Object> map);

    PageBean getPageBeanByMap(Map map,int pageNo,int pageSize);

    int queryTotal(Map<String, Object> map);

	void save(WorkItemSub workItemSub);

	void update(WorkItemSub workItemSub);

    void delete(Map<String, Object>  map);
	void delete(Long  id);

	void deleteBatch(Long[]  ids);
}
